package com.hand.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class InfoBuild {

    public static String build(String info, String infoAppend) throws InterruptedException {

        Date day=new Date();
        SimpleDateFormat sdf= new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String formatDate = sdf.format(day);
        info += "\n[" + formatDate + "] " + infoAppend;
        Thread.sleep(10);
        return info;
    }
}
